import request from '@/utils/request'

// 查询线路站点考核列表
export function listRouteStationAssess(query) {
  return request({
    url: '/dispatch/routeStationAssess/list',
    method: 'get',
    params: query
  })
}

// 查询线路站点考核详细
export function getRouteStationAssess(id) {
  return request({
    url: '/dispatch/routeStationAssess/' + id,
    method: 'get'
  })
}

// 新增线路站点考核
export function addRouteStationAssess(data) {
  return request({
    url: '/dispatch/routeStationAssess',
    method: 'post',
    data: data
  })
}

// 修改线路站点考核
export function updateRouteStationAssess(data) {
  return request({
    url: '/dispatch/routeStationAssess',
    method: 'put',
    data: data
  })
}

// 删除线路站点考核
export function delRouteStationAssess(id) {
  return request({
    url: '/dispatch/routeStationAssess/' + id,
    method: 'delete'
  })
}
